package com.cjz.demo4;

public class CJZButton {
    Action0 listener;

    public void setOnClickListener(Action0 listener) {
        this.listener = listener;
    }

    public void press() {
        if (listener != null) {
            listener.call();

        }
    }
}
